/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package juego;

/**
 *
 * @author Keysofw
 */
public class Abstracion {

    int ram;
    Bridge bridge;

    public Abstracion(int ram) {


        this.ram = ram;


    }

    public void revisar() {

        if (ram <= 3) {

            bridge = new Juego1();


        } else {
            bridge = new Juego2();

        }

    }

    private String inicilizar() {

        return bridge.inicializarInterfaz();


    }
}
